package com.ruoyi.tea.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主播信息对象 tea_anchor
 * 
 * @author ruoyi
 * @date 2022-07-31
 */
public class TeaAnchor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 主播昵称，最短2个汉字，最长15个汉字，1个汉字相当于2个字符 */
    @Excel(name = "主播昵称，最短2个汉字，最长15个汉字，1个汉字相当于2个字符")
    private String anchorName;

    /** 主播微信号，如果未实名认证，需要先前往“小程序直播”小程序进行实名验证 */
    @Excel(name = "主播微信号，如果未实名认证，需要先前往“小程序直播”小程序进行实名验证")
    private String anchorWechat;

    /** 主播姓名 */
    @Excel(name = "主播姓名")
    private String name;

    /** 主播手机号 */
    @Excel(name = "主播手机号")
    private String phone;

    /** 主播身份证号 */
    @Excel(name = "主播身份证号")
    private String idcar;

    /** 0正常 1停用 */
    @Excel(name = "0正常 1停用")
    private Integer status;

    /** 主播微信小程序标识 */
    @Excel(name = "主播微信小程序标识")
    private String openId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAnchorName(String anchorName) 
    {
        this.anchorName = anchorName;
    }

    public String getAnchorName() 
    {
        return anchorName;
    }
    public void setAnchorWechat(String anchorWechat) 
    {
        this.anchorWechat = anchorWechat;
    }

    public String getAnchorWechat() 
    {
        return anchorWechat;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdcar(String idcar) 
    {
        this.idcar = idcar;
    }

    public String getIdcar() 
    {
        return idcar;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("anchorName", getAnchorName())
            .append("anchorWechat", getAnchorWechat())
            .append("name", getName())
            .append("phone", getPhone())
            .append("idcar", getIdcar())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("openId", getOpenId())
            .toString();
    }
}
